home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / Developer Essentials May91 / Technical Docs / Misc Technical Docs / Installer Scripting Docs / 3.1 Final Installer / Action Atom interfaces / ActionAtomIntf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-15  |  953 b   |  45 lines  |  [TEXT/MPS ]

  1. /************************************************************
  2.  
  3.     ActionAtomIntf.h
  4.     
  5.     Installer 3.1 & 3.2
  6.     C declarations for info Installer passes to action atom 
  7.         code resource
  8.  
  9.     Copyright Apple Computer, Inc. 1990-1991
  10.     All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14. #ifndef __ACTIONATOMINTF__
  15. #define __ACTIONATOMINTF__
  16.  
  17. #ifndef  __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21.  
  22. enum { before, after, cleanUpCancel };
  23. typedef unsigned char InstallationStage ;
  24.  
  25.  
  26. /* The action atom param block record contains all of the parameters that action atoms */
  27. /* receive.  The first (and only) parameter to action atoms is a ptr to this block (AAPBRecPtr) */
  28.  
  29. struct AAPBRec {
  30.     short                targetVRefNum;
  31.     long                blessedDirID;
  32.     long                aaRefCon;
  33.     Boolean                doingInstall;
  34.     InstallationStage    whichStage;
  35.     Boolean                didLiveUpdate;
  36.     long                installerTempDirID;
  37. };
  38.  
  39. typedef struct AAPBRec AAPBRec;
  40.  
  41. typedef AAPBRec *AAPBRecPtr;
  42.  
  43.  
  44. #endif
  45.